package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.pojo.Dish;

import java.util.List;

public interface DishService extends IService<Dish> {
    public void addWithFlavor(DishDto dishDto);
    public DishDto getByIdWithFlavor(long id);

    public void updateWithFlavor(DishDto dishDto);


    public void deleteWithFlavor(List<Long> ids);

    public void updateByIds(List<Long> ids, Integer status);
}
